<?php
/**
 * 
 * $Id: AjaxWrapper.class.php 11 2010-04-18 21:47:41Z ccorlatti $
 * 
 */
IncludeHelper::inc('library/thirdparty/xajax/xajax_core/xajax.inc.php');

abstract class AjaxWrapper {
	
	private $xAjax;
	private $xAjaxJS;
	private $debug = true;
	
	function __construct() {
		$this->xAjax = new xajax(); 
	}
	
	public function getJavaScript(){
		return $this->getXAjaxJS();
	}
	
	/**
	 * @return unknown
	 */
	public function getDebug() {
		return $this->debug;
	}
	
	/**
	 * @return unknown
	 */
	public function getXAjax() {
		return $this->xAjax;
	}
	
	/**
	 * @return unknown
	 */
	public function getXAjaxJS() {
		return $this->xAjaxJS;
	}
	
	/**
	 * @param unknown_type $debug
	 */
	public function setDebug($debug) {
		$this->debug = $debug;
	}
	
	/**
	 * @param unknown_type $xAjax
	 */
	public function setXAjax($xAjax) {
		$this->xAjax = $xAjax;
	}
	
	/**
	 * @param unknown_type $xAjaxJS
	 */
	public function setXAjaxJS($xAjaxJS) {
		$this->xAjaxJS = $xAjaxJS;
	}

	
}

?>
